package com.enjoybyte.pangucloud.consumer;

import com.enjoybyte.pangucloud.api.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(basePackages = "com.enjoybyte.pangucloud.api.client",defaultConfiguration = DefaultFeignConfig.class)
@MapperScan("com.enjoybyte.pangucloud.consumer.mapper")
public class PanguConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(PanguConsumerApplication.class, args);
    }
}
